home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacApp Release 10 / MacApp Release 10 - HD Ready / Examples / A-Z / Q / QuickDraw3D / Simple QuickDraw 3D View / UCustomViewerWindow.h < prev    next >
Encoding:
Text File  |  1996-04-03  |  1015 b   |  33 lines  |  [TEXT/CWIE]

  1. //----------------------------------------------------------------------------------------
  2. // UCustomViewerWindow.h
  3. // Copyright © 1996 by Apple Computer, Inc. All rights reserved.
  4. //----------------------------------------------------------------------------------------
  5.  
  6. #ifndef __UCustomViewerWindow__
  7. #define __UCustomViewerWindow__
  8.  
  9. #ifndef __UCustomViewerDocument__
  10. #include "UCustomViewerDocument.h"
  11. #endif
  12.  
  13. //----------------------------------------------------------------------------------
  14. // TWindow: Corresponds to a desktop Window. The outermost of a nested set of views.
  15. //----------------------------------------------------------------------------------
  16.  
  17. class TCustomViewerWindow : public TWindow
  18. {
  19.     MA_DECLARE_CLASS;
  20.     
  21. public:
  22.     TCustomViewerDocument* fCustomViewerDocument;
  23.     
  24.     TCustomViewerWindow();
  25.     virtual ~TCustomViewerWindow();
  26.     virtual void DoEvent(EventNumber eventNumber,
  27.                                 TEventHandler* source,
  28.                                 TEvent* event);    // Override
  29. };
  30.  
  31. extern void InitUCustomViewerWindow();
  32.  
  33. #endif